#include <stdio.h>

int main(){
    char words[26]={0}, input_words[80];
    int n, num;
    for(int i = 0; i < 80; i++){
        scanf("%c", &input_words[i]);
        if (input_words[i] == '\n'){
            num = i;
            break;
        }
    }
    for(int i = 0; i < num; i++){
        int temp;
        if ((input_words[i] >= 'a' && input_words[i] <= 'z') || (input_words[i] >= 'A' && input_words[i] <= 'Z')){
            if (input_words[i] >= 'a' && input_words[i] <= 'z'){
                words[input_words[i] - 'a']++;
            }else{
                words[input_words[i] - 'A']++;
            }
        }
        
    }
    for(int i = 0; i < 26; i++){
        if (words[i] > 0){
            printf("%c is %d\n", i + 'a', words[i]);
        }
    }
    
}